Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Layout.Composition Namespace / Layer Class / CreateVisual Method / CreateVisual(Action<GcGraphics,Visual>) Method
A delegate that accepts a GrapeCity.Documents.Drawing.GcGraphics object and a Visual, and draws the visual on the graphics.

In This Topic
    CreateVisual(Action<GcGraphics,Visual>) Method
    In This Topic
    Creates a Visual object that represents a drawing element.
    Syntax
    'Declaration
     
    Public Overloads Function CreateVisual( _
       ByVal draw As System.Action(Of GcGraphics,Visual) _
    ) As Visual
    public Visual CreateVisual( 
       System.Action<GcGraphics,Visual> draw
    )

    Parameters

    draw
    A delegate that accepts a GrapeCity.Documents.Drawing.GcGraphics object and a Visual, and draws the visual on the graphics.
    See Also